// --------   法条更新通知--------

import request from '@/utils/request'

let BASE_ADDRESS = '/work/updateLaw'


//分页查询
export const getUpdateLawListAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: 'get',
        params: data
    })
}

//修改更新通知
export const getUpdateLawEditAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/edit`,
        method: 'put',
        data
    })
}

//id查询
export const getUpdateLawGetInfoAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/getInfo`,
        method: 'get',
        params: data

    })
}
